home *** CD-ROM | disk | FTP | other *** search
- shader()
- {
- cull("ccw")
- pass()
- {
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
- texture()
- {
- Image(%colortexture)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
- tmu()
- {
- TexGen("world_position")
- UserTexMtx( 2 )
- texture()
- {
- Usermap(2)
- addressfunc("clamp", "clamp", "clamp")
- //filtering("no_filtering")
- }
- ColorOp("blend_factor_alpha", "texture", "current", "current")
- }
- tfactor(1, 1, 1, 1)
- colorgen("tfactor", "none", 0, 0, 0, "user", 0, 0, 0)
-
- }
- }
-
-